package FileWriter;
import java.io.*;

public class FileWriterTest {
    public static void main(String[] args)
    {
        String fileName = "d:\\Hello.txt";
        try
        {
            FileWriter writer = new FileWriter(fileName,true);
            writer.write("Lzc-c,你好");
            writer.close();
        }
        catch(IOException e)
        {
            System.out.println(e.getMessage());
        }
    }
}
